package com.kancy.learn.rpc.rmi.api;

import com.kancy.learn.rpc.rmi.api.entity.Message;
import com.kancy.learn.rpc.rmi.api.entity.Result;

import java.rmi.Remote;
import java.rmi.RemoteException;


/**
 * @author kancy
 * @version 1.0
 * @date 2019/1/31 10:43
 */
public interface IMessageService extends Remote {

    Result processMessage(Message message) throws RemoteException ;

}
